#include "Control_MenuBar.h"

#include "Control_Menu.h"
#include "Host.h"

using namespace gui;

Control_MenuBar::Control_MenuBar(std::string NewCaption, Vec<2, float> NewFontSize, ColorRGBA<unsigned char> NewForeColor, ColorRGBA<unsigned char> NewBackColor, Vec<2, float> NewPos, Vec<2, float> NewSize, Control_Menu* NewParentMenu, Host& NewParentHost) :
Control_Text(NewCaption, NewFontSize, NewForeColor, NewBackColor, NewPos, NewSize, NewParentMenu, NewParentHost)
{
}

void Control_MenuBar::MouseDownLeft()
{
	ParentHost.Status.MenuGrabbed = true;
}

void Control_MenuBar::UpdateVerticesFix(RendererComponent& Renderer)
{
	Control_Text::UpdateVerticesFix(Renderer);
}

Control_MenuBar::~Control_MenuBar(void)
{
}

